package com.ruoyi.system.domain.request.driver;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import java.util.List;

@NoArgsConstructor
@AllArgsConstructor
@Data
public class DriverFaceSendParam {
    @ApiModelProperty("设备号")
    @NotEmpty(message = "该对象未绑定设备")
    private String deviceId;
    @ApiModelProperty("负责人信息")
    @NotEmpty(message = "请选择需要下发的负责人")
    private List<DriverInfo> list;

    @NoArgsConstructor
    @AllArgsConstructor
    @Data
    public static class DriverInfo {
        @ApiModelProperty("负责人ID")
        private String driverId;
        @ApiModelProperty("负责人名称")
        private String driverName;
        @ApiModelProperty("负责人身份证号")
        private String idCard;
        @ApiModelProperty("人脸照片")
        private String facePictureUrl;
    }
}
